<template>
    <div class="box">
        <div class="title">病毒信息</div>
        <p v-for="item in cavDesc">{{ item }}</p>
        <div class="title">疫情热点</div>
        <p v-for="item in cavNews">{{ item.title }}</p>
    </div>
</template>

<script>
export default {
    name:'',
    props: ['cavDesc','cavNews'],
    data() {
        return {

        };
    },
};
</script>

<style scoped lang="scss">
.box{
    padding: 0rem .1rem;
}
.title{
    border-left: 6px solid #4169e2;
    font-weight: bolder;
    margin: .05rem;
    padding-left: .1rem;
    font-size: .18rem;
}
p{
    color: #666;
    line-height: .3rem;
}
</style>
